home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
20
/
9
/
DISK2092.ZIP
/
RBBS-LIT.ZIP
/
LIT
/
RBBSLIT.MRG
< prev
next >
Wrap
Text File
|
1990-01-13
|
4KB
|
100 lines
*[RBBSLIT.MRG]****************************************************************
* Description: RBBS-PC.BAS Mite Size Driver *
* RBBS-PC Level: CPC17.3 *
* Module Affected: RBBS-PC.BAS *
* Selection Option: None *
* Additional files: None *
******************************************************************************
*$ INCLUDE SETLIT.INC
*$ INCLUDE MITEVER.LIT
*$ IF FOSSIL = OFF THEN INCLUDE FOSSIL01.LIT
*$ INCLUDE MITEVER2.LIT
*$ IF FOSSIL = OFF THEN INCLUDE FOSSIL02.LIT
*$ IF AUTODOWN = OFF THEN BLOCK
800 CALL DoorReturn
IF ZAdjustedSecurity THEN _
GOSUB 5135
IF ZOrigCnfg$ = ZCurDef$ THEN _
ZMainUserFileIndex = ZUserFileIndex : _
ZOrigSec = ZUserSecLevel : _
ZUserSecSave = ZUserSecLevel : _
ZOrigUserName$ = ZActiveUserName$
ZTimesLoggedOn = CVI(MID$(ZUserOption$,1,2)) - _
((ZOrigCnfg$ <> ZCurDef$ OR NOT SubBoard) AND _
(NOT ZPrivateDoor) AND (NOT ZExitToDoors))
GOSUB 9500
IF (NOT ZExitToDoors) AND (NOT SubBoard) THEN _
CALL UpdtCalr (ZActiveUserName$ + " from " + ZWasCI$ + _
" Lvl" + STR$(ZUserSecLevel) + " " + TIME$,2)
PrevLastOn$ = ZLastDateTimeOn$
IF ZLocalUser THEN _
ZTalkToModemAt$ = "9600" : _
ZBaudParity$ = "9600 BAUD,N,8,1" : _
ZModemInitBaud$ = "9600" : _
ZSnoop = ZTrue : _
ZLineFeeds = ZTrue
CALL SetCrLf
CALL SetPrompt
CALL XferType (2,ZTrue)
IF NOT SubBoard THEN _
BoardCheckDate$ = PrevLastOn$
IF ZPrivateDoor OR SubBoard THEN _
GOTO 815
GOSUB 465
CALL QuickTPut1 ("Logging " + ZActiveUserName$)
CALL Talk (1,ZOutTxt$)
CALL QuickTPut1 ("RBBS-PC " + ZVersionID$ + " NODE " + ZNodeID$ + _
", OPERATING AT " + ZBaudParity$)
CALL SkipLine (1)
Attempts = 0
*$ END IF
*$ IF UPDWNRATIO = OFF THEN BLOCK
815 ZDnlds = CVI(ZUserDnlds$)
ZUplds = CVI(ZUserUplds$)
IF NOT GlobalsSet THEN _
GlobalsSet = ZTrue : _
ZGlobalDnlds = ZDnlds : _
ZGlobalUplds = ZUplds : _
ZGlobalDLToday! = ZDLToday! : _
ZGlobalBytesToday! = ZBytesToday! : _
ZGlobalDLBytes! = ZDLBytes! : _
ZGlobalULBytes! = ZULBytes!
GOSUB 827 ' KG052101
LSET ZUserOption$ = MKI$(ZTimesLoggedOn) + _
MID$(ZUserOption$,3)
LSET ZLastDateTimeOn$ = ZCurDate$ + _
" " + _
ZTimeLoggedOn$
MID$(ZUserRecord$,ZStartHash,ZLenHash) = HashValue$
IF ZStartIndiv > 0 THEN _
MID$(ZUserRecord$,ZStartIndiv,ZLenIndiv) = IndivValue$
LSET ZUserName$ = ZOrigUserName$
IF (NOT ZExitToDoors) AND NOT (ZOrigMsgFile$ = ZActiveMessageFile$ AND SubBoard) THEN _
CALL AutoPage
IF NOT SubBoard THEN _
ZOrigUserFileIndex = ZUserFileIndex
GOSUB 9440
GOSUB 12991
CALL AskMore ("",ZTrue,ZTrue,WasX,ZTrue)
IF TurboLogon THEN _
GOTO 819
IF SkipWelcomeScreen AND _ ' DA090901
(ZUserSecLevel >= ZAllowCallerTurbo) THEN _ ' DA090901
GOTO 816 ' DA090901
IF NOT SameUser THEN _
ZStopInterrupts = NOT ZWelcomeInterruptable : _
ZBypassTimeCheck = ZTrue : _
ZFileName$ = ZWelcomeFile$ : _
ZDisplayAsUnit = ZTrue : _
GOSUB 1790 : _
ZDisplayAsUnit = ZFalse
ZBypassTimeCheck = ZFalse
ZStopInterrupts = ZTrue
*$ END IF
*$ IF CONFERENCE = OFF THEN INCLUDE CONFENCE.LIT
*$ IF DOORS = OFF THEN INCLUDE DOORS.LIT
*$ IF SYSMAINT = OFF THEN INCLUDE SYSMAINT.LIT
*$ IF SURVEY = OFF THEN INCLUDE SURVEY1.LIT
*$ IF SYSMAINT = OFF THEN INCLUDE SYSMNT2.LIT
*$ IF FOSSIL = OFF THEN INCLUDE FOSSIL03.LIT